package com.zdkj.subway.epm.feign;

import com.zdkj.admin.api.dto.UserInfo;
import com.zdkj.common.core.constant.ServiceNameConstants;
import com.zdkj.common.core.util.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author cuilei
 * @program: zdkj
 * @description:
 * @create 2020-02-14 15:50
 */
@FeignClient(contextId = "systemUserService", value = ServiceNameConstants.UPMS_SERVICE)
public interface SystemUserService {
    /**
     * 查询当前登录系统用户详细信息
     * @return
     */
    @GetMapping("/user/info")
    R<UserInfo> info();

}
